package cn.javase.base.proxy;

/**
 * 大明星
 */
public class BigStar implements Star {

    private String name;    // 明星名字

    public BigStar(String name) {
        this.name = name;
    }

    public String sing(String name) {
        System.out.println(this.name + "正在唱：" + name);
        return "谢谢各位！";
    }

    public void dance() {
        System.out.println(this.name + "正在优美地跳舞~");
    }

}
